package com.qfedu.mavenk.been;

import java.io.Serializable;

/**
 * @author:huayuzhuo
 * @email:2798866329@qq.com
 * @desc: student实体类
 * @datatime: 2022/10/10 10:05
 */
public class Student {
    private int id;
    private String stu_number;
    private String name;
    private String ID_number;
    private int status_code;
    private String classs;
    //该学生的班级信息
    private Classes classes_info;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStu_number() {
        return stu_number;
    }

    public void setStu_number(String stu_number) {
        this.stu_number = stu_number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getID_number() {
        return ID_number;
    }

    public void setID_number(String ID_number) {
        this.ID_number = ID_number;
    }

    public int getStatus_code() {
        return status_code;
    }

    public void setStatus_code(int status_code) {
        this.status_code = status_code;
    }

    public String getClasss() {
        return classs;
    }

    public void setClasss(String classs) {
        this.classs = classs;
    }

    public Classes getClasses_info() {
        return classes_info;
    }

    public void setClasses_info(Classes classes_info) {
        this.classes_info = classes_info;
    }

    public Student() {
    }

    public Student(int id, String stu_number, String name, String ID_number, int status_code, String classs, Classes classes_info) {
        this.id = id;
        this.stu_number = stu_number;
        this.name = name;
        this.ID_number = ID_number;
        this.status_code = status_code;
        this.classs = classs;
        this.classes_info = classes_info;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", stu_number='" + stu_number + '\'' +
                ", name='" + name + '\'' +
                ", ID_number='" + ID_number + '\'' +
                ", status_code=" + status_code +
                ", classs='" + classs + '\'' +
                ", classes_info=" + classes_info +
                '}';
    }
}
